﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Reffere_Item : Form
    {
        public Reffere_Item()
        {
            InitializeComponent();
            comboBox1.Items.Add("referee");
            comboBox1.Items.Add("assistant referee");
 
        }

        private void label3_Click(object sender, EventArgs e)
        {

        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            controller.Control co = new controller.Control();
            if (co.checkIfReferyINData("11"))
                MessageBox.Show("good");
            
            
        }
    }
}
